package com.jxust.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class ClazzQueryParam {
    private Integer page = 1;
    private Integer pageSize = 10;

    private String name;
    private String room;
    private Integer masterId;
    private String masterName;
    private String status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate updateTime;
}
